package com.ny.mapper;

import com.ny.entity.Users;
import com.ny.service.UserService;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;


public interface UserMapper {
    //@Select("SELECT * FROM users WHERE username = #{username} AND password = #{password}")
    Users findUserByUsernameAndPassword(@Param("username") String username,@Param("password") String password);

}
